package com.ss.android.article.base.feature.user.social;

import android.text.InputFilter;
import android.text.Spanned;
import android.widget.Toast;

final class d extends InputFilter.LengthFilter {
    private final ReportActivity a;

    d(ReportActivity arg2) {
        super(200);
        this.a = arg2;

    }

    public final CharSequence filter(CharSequence arg8, int arg9, int arg10, Spanned arg11, int arg12, int arg13) {
        int v5 = 200;
        if (arg8.length() + arg11.length() >= v5) {
            Toast.makeText(this.a, this.a.getString(com.ss.android.article.browser.R.string.delete_reason_input_max_tips, new Object[]{Integer.valueOf(v5)}), 1).show();
        }

        return super.filter(arg8, arg9, arg10, arg11, arg12, arg13);
    }
}

